<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户管理</title>
</head>
<body>
	<h2>用户信息</h2>
	<table>
		<tr>
		    <td>头像</td>
			<td>openid</td>
			<td>姓名</td>
			<td>性别</td>
			<td>国家</td>
			<td>城市</td>
			<td>省份</td>
			<td>语言</td>
			<td>备注</td>
			<td>发送信息</td>
		</tr>


		<c:forEach items="${userlist}" var="user">
			<tr>
			    <td><img src="${user.headimgurl}" style="height: 50px;width: 50px;"/></td>
				<td>${user.openid}</td>
				<td>${user.nickname}</td>
				<td>${user.sex}</td>
				<td>${user.country}</td>
				<td>${user.city}</td>
				<td>${user.province}</td>
				<td>${user.language}</td>
				<td>${user.remark}</td>
				<td><a href="${pageContext.request.contextPath}/weixin/mesg/sendmesg.do?openid=${user.openid}">发送信息</a></td>
			</tr>
		</c:forEach>

	</table>
</body>
</html>